package generator

import "beergo/plugins/maker"

func init() {
	Category()
}

func Category() {
	c := maker.CreateTable("Category","检测分类","check")
	c.AddName()
	c.AddParent()
	c.AddOneToMany("children","子集","Category")
	c.AddText("link","链")
	c.AddSort()
	c.Generate()
}